#ifndef CONTAINER_H
#define CONTAINER_H

#include <string>
#include <stdexcept>
#include <vector>

using namespace std;


class IncompatibleContainerError : public out_of_range
{
    public:
   IncompatibleContainerError() : out_of_range( "Out of Range" )
  {
  }
};


class Container
{
public:
    int get_size();
    int add_item(const std::string& str);
    string get_item( int index);
    bool remove_item( int index);
    Container();
    virtual ~Container();
private:
  int size;
  vector<string> c;
};
#endif
